<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <div id="app">
        <ul>
            <li v-for='(item, index) in musics' :key='item'>{{ index+1 }}.歌手:{{item}}</li>
        </ul>
        <ul>
            <li v-for="(value,key) in student">{{key}}:{{value}}</li>
        </ul>
    </div>
    <script src='../js/vue.js'></script>
    <script>
        const app = new Vue({
            el: '#app',
            data: {
                musics: ['刘德华', '张学友', '张杰', '周杰伦', '陈奕迅'],
                student: {
                    name: '张三',
                    sex: '男',
                    age: 22
                },
                methods: {
                }
            }
        })
    </script>
</body>

</html>